import Vue from 'vue'
import VueRouter from 'vue-router'

import User from '../views/User.vue'
import ShoppingCart from '../views/ShoppingCart.vue'
import Extend from '../views/Extend.vue'

Vue.use(VueRouter)

const routes = [
  {
    path:'/user',
    component:User
  },
  {
    path:'/shopping-cart',
    component:ShoppingCart
  },
  {
    path:'/extend',
    component:Extend
  },
]

const router = new VueRouter({
  routes
})

export default router
